package net.zjitc.mapper;

import net.zjitc.pojo.User;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author admin
 * @Date 2019/4/30 8:29
 */
public class UserMapper {
    public List<User> findAll(){
        List<User> list = new ArrayList<User>();
        User u1 = new User();
        u1.setPassword("123");
        u1.setUsername("abc");
        list.add(u1);
        User u2= new User();
        u2.setPassword("666");
        u2.setUsername("bed");
        list.add(u2);
        return list;

    }
}
